package com.szl.sbssh.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.szl.sbssh.model.base.IdEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


@Entity
@Table(name = "t_sys_dictionary", schema = "")
@DynamicInsert(true)
@DynamicUpdate(true)
public class TSysDictionary extends IdEntity implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4253385165685029497L;
	private String code;
	private String name; 
	private String remark;
	
	@Column(name = "creater" , updatable = true ,insertable = true)
    private String creater;
    
    @Column(name = "modifier" , updatable = true ,insertable = true)
    private String modifier;
    
    @Column(name = "modifyTime" , updatable = true ,insertable = true)
    @Temporal(value=TemporalType.TIMESTAMP)
    private Date modifyTime;
 
    
	
	@Column(name = "createTime" , updatable = true ,insertable = true)
    @Temporal(value=TemporalType.TIMESTAMP)
    private Date createTime;
	
	
	
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public String getModifier() {
		return modifier;
	}
	public void setModifier(String modifier) {
		this.modifier = modifier;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
